package cn.maihe.elg.operation.repository.entity;

import cn.maihe.framework.starter.mybatis.mapper.Fn;
import cn.maihe.framework.starter.mybatis.mapper.PlusEntityWrapper;

public final class OrgInstitutionSetDOCondition {
    private PlusEntityWrapper<OrgInstitutionSetDO> ew;

    public OrgInstitutionSetDOCondition() {
        this.ew = new PlusEntityWrapper(OrgInstitutionSetDO.class);
    }

    public static OrgInstitutionSetDOCondition builder() {
        return new OrgInstitutionSetDOCondition();
    }

    public PlusEntityWrapper<OrgInstitutionSetDO> build() {
        return this.ew;
    }

    public OrgInstitutionSetDOCondition or() {
        this.ew.orNew();
        return this;
    }

    public OrgInstitutionSetDOCondition and() {
        this.ew.andNew();
        return this;
    }

    private boolean isAndOr() {
        return ew.originalSql() == null || "".equals(ew.originalSql()) ? true : ew.originalSql().endsWith("AND ()") || ew.originalSql().endsWith("OR ()");
    }

    public void clear() {
        this.ew = null;
        this.ew = new PlusEntityWrapper(OrgInstitutionSetDO.class);
    }

    public OrgInstitutionSetDOCondition setSqlSelect(String sqlStr) {
        ew.setSqlSelect(sqlStr);
        return this;
    }

    public OrgInstitutionSetDOCondition orderAsc(String column) {
        ew.orderBy(true, column, true);
        return this;
    }

    public OrgInstitutionSetDOCondition orderDesc(String column) {
        ew.orderBy(true, column, false);
        return this;
    }

    public OrgInstitutionSetDOCondition groupBy(String column) {
        ew.groupBy(column);
        return this;
    }

    public <E, R> OrgInstitutionSetDOCondition orderAsc(Fn<E, R> fn) {
        ew.orderAsc(fn);
        return this;
    }

    public <E, R> OrgInstitutionSetDOCondition orderDesc(Fn<E, R> fn) {
        ew.orderDesc(fn);
        return this;
    }

    public <E, R> OrgInstitutionSetDOCondition groupBy(Fn<E, R> fn) {
        ew.groupBy(fn);
        return this;
    }

    public OrgInstitutionSetDOCondition exists(String sqlStr) {
        ew.exists(sqlStr);
        return this;
    }

    public OrgInstitutionSetDOCondition notExists(String sqlStr) {
        ew.notExists(sqlStr);
        return this;
    }

    public OrgInstitutionSetDOCondition having(String sqlStr, Object... params) {
        ew.having(sqlStr, params);
        return this;
    }

    public OrgInstitutionSetDOCondition andOrgIdIsNull() {
        ew.isNull("org_id");
        return this;
    }

    public OrgInstitutionSetDOCondition orOrgIdIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("org_id");
        return this;
    }

    public OrgInstitutionSetDOCondition andOrgIdIsNotNull() {
        ew.isNotNull("org_id");
        return this;
    }

    public OrgInstitutionSetDOCondition orOrgIdIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("org_id");
        return this;
    }

    public OrgInstitutionSetDOCondition andOrgIdEq(Object value) {
        ew.eq("org_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orOrgIdEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("org_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andOrgIdNe(Object value) {
        ew.ne("org_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orOrgIdNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("org_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andOrgIdGt(Object value) {
        ew.gt("org_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orOrgIdGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("org_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andOrgIdGe(Object value) {
        ew.ge("org_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orOrgIdGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("org_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andOrgIdLt(Object value) {
        ew.lt("org_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orOrgIdLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("org_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andOrgIdLe(Object value) {
        ew.le("org_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orOrgIdLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("org_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andOrgIdIn(Object... value) {
        ew.in("org_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orOrgIdIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("org_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andOrgIdNotIn(Object... value) {
        ew.notIn("org_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orOrgIdNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("org_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andOrgIdBetween(Object value, Object value1) {
        ew.between("org_id", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition orOrgIdBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("org_id", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition andOrgIdNotBetween(Object value, Object value1) {
        ew.notBetween("org_id", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition orOrgIdNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("org_id", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition andOrgIdLike(String value) {
        ew.like("org_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orOrgIdLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("org_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andOrgIdNotLike(String value) {
        ew.notLike("org_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orOrgIdNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("org_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andInstitutionIdIsNull() {
        ew.isNull("institution_id");
        return this;
    }

    public OrgInstitutionSetDOCondition orInstitutionIdIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("institution_id");
        return this;
    }

    public OrgInstitutionSetDOCondition andInstitutionIdIsNotNull() {
        ew.isNotNull("institution_id");
        return this;
    }

    public OrgInstitutionSetDOCondition orInstitutionIdIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("institution_id");
        return this;
    }

    public OrgInstitutionSetDOCondition andInstitutionIdEq(Object value) {
        ew.eq("institution_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orInstitutionIdEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("institution_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andInstitutionIdNe(Object value) {
        ew.ne("institution_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orInstitutionIdNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("institution_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andInstitutionIdGt(Object value) {
        ew.gt("institution_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orInstitutionIdGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("institution_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andInstitutionIdGe(Object value) {
        ew.ge("institution_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orInstitutionIdGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("institution_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andInstitutionIdLt(Object value) {
        ew.lt("institution_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orInstitutionIdLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("institution_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andInstitutionIdLe(Object value) {
        ew.le("institution_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orInstitutionIdLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("institution_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andInstitutionIdIn(Object... value) {
        ew.in("institution_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orInstitutionIdIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("institution_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andInstitutionIdNotIn(Object... value) {
        ew.notIn("institution_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orInstitutionIdNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("institution_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andInstitutionIdBetween(Object value, Object value1) {
        ew.between("institution_id", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition orInstitutionIdBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("institution_id", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition andInstitutionIdNotBetween(Object value, Object value1) {
        ew.notBetween("institution_id", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition orInstitutionIdNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("institution_id", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition andInstitutionIdLike(String value) {
        ew.like("institution_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orInstitutionIdLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("institution_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andInstitutionIdNotLike(String value) {
        ew.notLike("institution_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orInstitutionIdNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("institution_id", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andInvoiceFlagIsNull() {
        ew.isNull("invoice_flag");
        return this;
    }

    public OrgInstitutionSetDOCondition orInvoiceFlagIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("invoice_flag");
        return this;
    }

    public OrgInstitutionSetDOCondition andInvoiceFlagIsNotNull() {
        ew.isNotNull("invoice_flag");
        return this;
    }

    public OrgInstitutionSetDOCondition orInvoiceFlagIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("invoice_flag");
        return this;
    }

    public OrgInstitutionSetDOCondition andInvoiceFlagEq(Object value) {
        ew.eq("invoice_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orInvoiceFlagEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("invoice_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andInvoiceFlagNe(Object value) {
        ew.ne("invoice_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orInvoiceFlagNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("invoice_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andInvoiceFlagGt(Object value) {
        ew.gt("invoice_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orInvoiceFlagGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("invoice_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andInvoiceFlagGe(Object value) {
        ew.ge("invoice_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orInvoiceFlagGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("invoice_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andInvoiceFlagLt(Object value) {
        ew.lt("invoice_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orInvoiceFlagLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("invoice_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andInvoiceFlagLe(Object value) {
        ew.le("invoice_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orInvoiceFlagLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("invoice_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andInvoiceFlagIn(Object... value) {
        ew.in("invoice_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orInvoiceFlagIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("invoice_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andInvoiceFlagNotIn(Object... value) {
        ew.notIn("invoice_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orInvoiceFlagNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("invoice_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andInvoiceFlagBetween(Object value, Object value1) {
        ew.between("invoice_flag", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition orInvoiceFlagBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("invoice_flag", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition andInvoiceFlagNotBetween(Object value, Object value1) {
        ew.notBetween("invoice_flag", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition orInvoiceFlagNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("invoice_flag", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition andInvoiceFlagLike(String value) {
        ew.like("invoice_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orInvoiceFlagLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("invoice_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andInvoiceFlagNotLike(String value) {
        ew.notLike("invoice_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orInvoiceFlagNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("invoice_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andAutoSubmitFlagIsNull() {
        ew.isNull("auto_submit_flag");
        return this;
    }

    public OrgInstitutionSetDOCondition orAutoSubmitFlagIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("auto_submit_flag");
        return this;
    }

    public OrgInstitutionSetDOCondition andAutoSubmitFlagIsNotNull() {
        ew.isNotNull("auto_submit_flag");
        return this;
    }

    public OrgInstitutionSetDOCondition orAutoSubmitFlagIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("auto_submit_flag");
        return this;
    }

    public OrgInstitutionSetDOCondition andAutoSubmitFlagEq(Object value) {
        ew.eq("auto_submit_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orAutoSubmitFlagEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("auto_submit_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andAutoSubmitFlagNe(Object value) {
        ew.ne("auto_submit_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orAutoSubmitFlagNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("auto_submit_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andAutoSubmitFlagGt(Object value) {
        ew.gt("auto_submit_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orAutoSubmitFlagGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("auto_submit_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andAutoSubmitFlagGe(Object value) {
        ew.ge("auto_submit_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orAutoSubmitFlagGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("auto_submit_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andAutoSubmitFlagLt(Object value) {
        ew.lt("auto_submit_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orAutoSubmitFlagLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("auto_submit_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andAutoSubmitFlagLe(Object value) {
        ew.le("auto_submit_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orAutoSubmitFlagLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("auto_submit_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andAutoSubmitFlagIn(Object... value) {
        ew.in("auto_submit_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orAutoSubmitFlagIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("auto_submit_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andAutoSubmitFlagNotIn(Object... value) {
        ew.notIn("auto_submit_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orAutoSubmitFlagNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("auto_submit_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andAutoSubmitFlagBetween(Object value, Object value1) {
        ew.between("auto_submit_flag", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition orAutoSubmitFlagBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("auto_submit_flag", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition andAutoSubmitFlagNotBetween(Object value, Object value1) {
        ew.notBetween("auto_submit_flag", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition orAutoSubmitFlagNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("auto_submit_flag", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition andAutoSubmitFlagLike(String value) {
        ew.like("auto_submit_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orAutoSubmitFlagLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("auto_submit_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andAutoSubmitFlagNotLike(String value) {
        ew.notLike("auto_submit_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orAutoSubmitFlagNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("auto_submit_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andUseApplyDayFlagIsNull() {
        ew.isNull("use_apply_day_flag");
        return this;
    }

    public OrgInstitutionSetDOCondition orUseApplyDayFlagIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("use_apply_day_flag");
        return this;
    }

    public OrgInstitutionSetDOCondition andUseApplyDayFlagIsNotNull() {
        ew.isNotNull("use_apply_day_flag");
        return this;
    }

    public OrgInstitutionSetDOCondition orUseApplyDayFlagIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("use_apply_day_flag");
        return this;
    }

    public OrgInstitutionSetDOCondition andUseApplyDayFlagEq(Object value) {
        ew.eq("use_apply_day_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orUseApplyDayFlagEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("use_apply_day_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andUseApplyDayFlagNe(Object value) {
        ew.ne("use_apply_day_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orUseApplyDayFlagNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("use_apply_day_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andUseApplyDayFlagGt(Object value) {
        ew.gt("use_apply_day_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orUseApplyDayFlagGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("use_apply_day_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andUseApplyDayFlagGe(Object value) {
        ew.ge("use_apply_day_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orUseApplyDayFlagGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("use_apply_day_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andUseApplyDayFlagLt(Object value) {
        ew.lt("use_apply_day_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orUseApplyDayFlagLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("use_apply_day_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andUseApplyDayFlagLe(Object value) {
        ew.le("use_apply_day_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orUseApplyDayFlagLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("use_apply_day_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andUseApplyDayFlagIn(Object... value) {
        ew.in("use_apply_day_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orUseApplyDayFlagIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("use_apply_day_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andUseApplyDayFlagNotIn(Object... value) {
        ew.notIn("use_apply_day_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orUseApplyDayFlagNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("use_apply_day_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andUseApplyDayFlagBetween(Object value, Object value1) {
        ew.between("use_apply_day_flag", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition orUseApplyDayFlagBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("use_apply_day_flag", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition andUseApplyDayFlagNotBetween(Object value, Object value1) {
        ew.notBetween("use_apply_day_flag", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition orUseApplyDayFlagNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("use_apply_day_flag", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition andUseApplyDayFlagLike(String value) {
        ew.like("use_apply_day_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orUseApplyDayFlagLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("use_apply_day_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andUseApplyDayFlagNotLike(String value) {
        ew.notLike("use_apply_day_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orUseApplyDayFlagNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("use_apply_day_flag", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andApplyDaysIsNull() {
        ew.isNull("apply_days");
        return this;
    }

    public OrgInstitutionSetDOCondition orApplyDaysIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("apply_days");
        return this;
    }

    public OrgInstitutionSetDOCondition andApplyDaysIsNotNull() {
        ew.isNotNull("apply_days");
        return this;
    }

    public OrgInstitutionSetDOCondition orApplyDaysIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("apply_days");
        return this;
    }

    public OrgInstitutionSetDOCondition andApplyDaysEq(Object value) {
        ew.eq("apply_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orApplyDaysEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("apply_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andApplyDaysNe(Object value) {
        ew.ne("apply_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orApplyDaysNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("apply_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andApplyDaysGt(Object value) {
        ew.gt("apply_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orApplyDaysGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("apply_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andApplyDaysGe(Object value) {
        ew.ge("apply_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orApplyDaysGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("apply_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andApplyDaysLt(Object value) {
        ew.lt("apply_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orApplyDaysLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("apply_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andApplyDaysLe(Object value) {
        ew.le("apply_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orApplyDaysLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("apply_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andApplyDaysIn(Object... value) {
        ew.in("apply_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orApplyDaysIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("apply_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andApplyDaysNotIn(Object... value) {
        ew.notIn("apply_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orApplyDaysNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("apply_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andApplyDaysBetween(Object value, Object value1) {
        ew.between("apply_days", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition orApplyDaysBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("apply_days", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition andApplyDaysNotBetween(Object value, Object value1) {
        ew.notBetween("apply_days", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition orApplyDaysNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("apply_days", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition andApplyDaysLike(String value) {
        ew.like("apply_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orApplyDaysLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("apply_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andApplyDaysNotLike(String value) {
        ew.notLike("apply_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orApplyDaysNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("apply_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andPayDaysIsNull() {
        ew.isNull("pay_days");
        return this;
    }

    public OrgInstitutionSetDOCondition orPayDaysIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("pay_days");
        return this;
    }

    public OrgInstitutionSetDOCondition andPayDaysIsNotNull() {
        ew.isNotNull("pay_days");
        return this;
    }

    public OrgInstitutionSetDOCondition orPayDaysIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("pay_days");
        return this;
    }

    public OrgInstitutionSetDOCondition andPayDaysEq(Object value) {
        ew.eq("pay_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orPayDaysEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("pay_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andPayDaysNe(Object value) {
        ew.ne("pay_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orPayDaysNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("pay_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andPayDaysGt(Object value) {
        ew.gt("pay_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orPayDaysGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("pay_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andPayDaysGe(Object value) {
        ew.ge("pay_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orPayDaysGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("pay_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andPayDaysLt(Object value) {
        ew.lt("pay_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orPayDaysLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("pay_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andPayDaysLe(Object value) {
        ew.le("pay_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orPayDaysLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("pay_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andPayDaysIn(Object... value) {
        ew.in("pay_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orPayDaysIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("pay_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andPayDaysNotIn(Object... value) {
        ew.notIn("pay_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orPayDaysNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("pay_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andPayDaysBetween(Object value, Object value1) {
        ew.between("pay_days", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition orPayDaysBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("pay_days", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition andPayDaysNotBetween(Object value, Object value1) {
        ew.notBetween("pay_days", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition orPayDaysNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("pay_days", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition andPayDaysLike(String value) {
        ew.like("pay_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orPayDaysLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("pay_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andPayDaysNotLike(String value) {
        ew.notLike("pay_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orPayDaysNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("pay_days", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andEndPayTimeIsNull() {
        ew.isNull("end_pay_time");
        return this;
    }

    public OrgInstitutionSetDOCondition orEndPayTimeIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("end_pay_time");
        return this;
    }

    public OrgInstitutionSetDOCondition andEndPayTimeIsNotNull() {
        ew.isNotNull("end_pay_time");
        return this;
    }

    public OrgInstitutionSetDOCondition orEndPayTimeIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("end_pay_time");
        return this;
    }

    public OrgInstitutionSetDOCondition andEndPayTimeEq(Object value) {
        ew.eq("end_pay_time", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orEndPayTimeEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("end_pay_time", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andEndPayTimeNe(Object value) {
        ew.ne("end_pay_time", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orEndPayTimeNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("end_pay_time", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andEndPayTimeGt(Object value) {
        ew.gt("end_pay_time", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orEndPayTimeGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("end_pay_time", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andEndPayTimeGe(Object value) {
        ew.ge("end_pay_time", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orEndPayTimeGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("end_pay_time", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andEndPayTimeLt(Object value) {
        ew.lt("end_pay_time", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orEndPayTimeLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("end_pay_time", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andEndPayTimeLe(Object value) {
        ew.le("end_pay_time", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orEndPayTimeLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("end_pay_time", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andEndPayTimeIn(Object... value) {
        ew.in("end_pay_time", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orEndPayTimeIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("end_pay_time", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andEndPayTimeNotIn(Object... value) {
        ew.notIn("end_pay_time", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orEndPayTimeNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("end_pay_time", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andEndPayTimeBetween(Object value, Object value1) {
        ew.between("end_pay_time", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition orEndPayTimeBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("end_pay_time", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition andEndPayTimeNotBetween(Object value, Object value1) {
        ew.notBetween("end_pay_time", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition orEndPayTimeNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("end_pay_time", value, value1);
        return this;
    }

    public OrgInstitutionSetDOCondition andEndPayTimeLike(String value) {
        ew.like("end_pay_time", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orEndPayTimeLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("end_pay_time", value);
        return this;
    }

    public OrgInstitutionSetDOCondition andEndPayTimeNotLike(String value) {
        ew.notLike("end_pay_time", value);
        return this;
    }

    public OrgInstitutionSetDOCondition orEndPayTimeNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("end_pay_time", value);
        return this;
    }
}